package com.example.factory;

/**
 * ClassName:Weapon
 * Package:com.example.factory
 * Description:
 *
 * @Author:ZhangXin
 * @Create:2023/5/8-20:29
 * @Version:v1.0
 */
//抽象产品角色
public abstract class Weapon {

    //所有的武器都可以攻击
    public abstract void attack();
}
